# Contributor: Adam Thiede <me@adamthiede.com>
# Maintainer: Adam Thiede <me@adamthiede.com>
pkgname=kjv
_pkgbase=0
_pkgsnap=20221103
_commit=1b675c0396806a2a3d134c51fd11d9fed8ea3dc5
pkgver=${_pkgbase}_git$_pkgsnap
pkgrel=0
pkgdesc="Read the Word of God from your terminal"
url="https://github.com/LukeSmithxyz/kjv"
arch="noarch"
license="Unlicense"
depends="less sed gawk"
makedepends="make tar"
checkdepends="shellcheck"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/LukeSmithxyz/kjv/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit/"

check() {
	make test
}

package() {
	make install PREFIX="$pkgdir"/usr
}

sha512sums="
b4003456e404adcea109f68bea1e564ad3ba89a11c9fae0d0c458a9e88d1873e2c80af2221e8af5a8e0b546cb286a5732293426b1ed9e525e933c26428fd4158  kjv-0_git20221103.tar.gz
"
